package com.learn.sc.consul.comsumer.consulcomsumer.controller;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "service-producer", fallback = FeignRemoteHystrix.class)
public interface FeignRemote {

	@RequestMapping(value = "/feighex")
	public String hello(@RequestParam(value = "name") String name);
}
